package com.mediacloud.app.newsmodule.fragment.newslist;

import androidx.annotation.NonNull;

import com.chad.library.adapter.base.BaseQuickAdapter;
import com.chad.library.adapter.base.BaseViewHolder;
import com.mediacloud.app.model.news.ArticleItem;
import com.mediacloud.app.newsmodule.R;

/**
 * Created by wzw on 2023/4/20 19:53
 * desc：
 */
public class RecommendRvAdapter extends BaseQuickAdapter<ArticleItem, BaseViewHolder> {
    public RecommendRvAdapter(int layoutResId) {
        super(layoutResId);
    }

    @Override
    protected void convert(@NonNull BaseViewHolder helper, ArticleItem item) {
        helper.setText(R.id.text_title,item.getTitle());
    }
}
